This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Err, Error, ErrorCode, newError, Result } from "./util" | |
type JobCall<T> = () => Promise<Result<T, Error>> | |
type JobResolver<T> = (result: T) => void | |
type JobRejector = (error: Error) => void | |
type JobAfter<T> = (res: Result<T, Error>) => void | |
/** | |
* A job that exposes a promise that can be resolved or rejected. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am iacopomelani on github. | |
* I am iacopomelani (https://keybase.io/iacopomelani) on keybase. | |
* I have a public key ASBdufdkwBzbSU8-INH6q5Tekj4jG6eImmDHA1bMHps24wo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class XLSWriterPlus extends XLSXWriter | |
{ | |
/** | |
* @var array | |
*/ | |
private $images = []; | |
/** |