update docs
This commit is contained in:
		@@ -61,6 +61,9 @@ myTask = new taskbuffer.Task({
 | 
				
			|||||||
  preTask: someOtherTask // optional, don't worry loops are prevented
 | 
					  preTask: someOtherTask // optional, don't worry loops are prevented
 | 
				
			||||||
  afterTask: someOtherTask // optional, don't worry loops are prevented
 | 
					  afterTask: someOtherTask // optional, don't worry loops are prevented
 | 
				
			||||||
  name:"myTask1",
 | 
					  name:"myTask1",
 | 
				
			||||||
 | 
					  buffered: true, // optional
 | 
				
			||||||
 | 
					  bufferMax: 3, // optional, call qeues greater than this are truncated
 | 
				
			||||||
 | 
					  execDelay: 1000, // optional, time in ms to wait before executing task call
 | 
				
			||||||
  taskFunction:() => {
 | 
					  taskFunction:() => {
 | 
				
			||||||
    // do some stuff and return promise
 | 
					    // do some stuff and return promise
 | 
				
			||||||
    // pass on any data through promise resolution
 | 
					    // pass on any data through promise resolution
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										29
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
				
			|||||||
 | 
					# taskbuffer
 | 
				
			||||||
 | 
					flexible task management. TypeScript ready!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Availabililty
 | 
				
			||||||
 | 
					[](https://www.npmjs.com/package/taskbuffer)
 | 
				
			||||||
 | 
					[](https://GitLab.com/pushrocks/taskbuffer)
 | 
				
			||||||
 | 
					[](https://github.com/pushrocks/taskbuffer)
 | 
				
			||||||
 | 
					[](https://pushrocks.gitlab.io/taskbuffer/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Status for master
 | 
				
			||||||
 | 
					[](https://GitLab.com/pushrocks/taskbuffer/commits/master)
 | 
				
			||||||
 | 
					[](https://GitLab.com/pushrocks/taskbuffer/commits/master)
 | 
				
			||||||
 | 
					[](https://www.npmjs.com/package/taskbuffer)
 | 
				
			||||||
 | 
					[](https://david-dm.org/pushrocks/taskbuffer)
 | 
				
			||||||
 | 
					[](https://www.bithound.io/github/pushrocks/taskbuffer/master/dependencies/npm)
 | 
				
			||||||
 | 
					[](https://www.bithound.io/github/pushrocks/taskbuffer)
 | 
				
			||||||
 | 
					[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
				
			||||||
 | 
					[](https://nodejs.org/dist/latest-v6.x/docs/api/)
 | 
				
			||||||
 | 
					[](http://standardjs.com/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Usage
 | 
				
			||||||
 | 
					Use TypeScript for best in class instellisense.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For further information read the linked docs at the top of this README.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
 | 
				
			||||||
 | 
					| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](https://push.rocks)
 | 
				
			||||||
		Reference in New Issue
	
	Block a user